package com.paradogs.framework.core.config;

import com.paradogs.framework.core.events.PREventListener;
import com.paradogs.framework.core.utils.EventUtils;
import com.paradogs.framework.core.utils.MsgUtils;
import com.paradogs.framework.core.utils.PRAsync;
import com.paradogs.framework.core.utils.SpringUtils;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author: yumi
 * @date: 2023/8/26  17:28
 * @Description: TODO
 */
@AutoConfiguration
public class UtilsConfiguration {

    @Bean
    public EventUtils eventUtils() {
        return new EventUtils();
    }

    @Bean
    public SpringUtils springUtils() {
        return new SpringUtils();
    }

    @Bean
    public PREventListener eventListener() {return new PREventListener();}

}
